.ICP-Number {
    color: white;
    font-size: 1.5vh;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ac-game-settings {
    width: 100%;
    height: 100%;
    background-image: url("/static/image/menu/ground.png");
    background-size: 100% 100%;
    user-select: none;
}

.ac-game-settings-login {
    height: 41vh;
    width: 20vw;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}


.ac-game-settings-title {
    color: white;
    font-size: 3vh;
    text-align: center;
    padding-top: 2vh;
    margin-bottom: 2vh;
}
/* 添加游戏界面退出按钮样式 */
.ac-game-exit-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    z-index: 100;
    border: none;
}

/* 添加操作方式按钮样式 */
.ac-game-menu-game-control {
    position: absolute;
    top: 20px;
    left: 20px;
}

.ac-game-menu-game-control-button {
    color: white;
    font-size: 2vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 0px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    z-index: 100;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.ac-game-menu-game-control-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.ac-game-menu-game-control-message {
    color: white;
    font-size: 1.8vh;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    line-height: 1.5;
    border: 1px solid #cccccc;
}


.ac-game-settings-autologin {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    z-index: 100;
    border: none;
}
.ac-game-settings-username {
    display: block;
    height: 7vh;
}

.ac-game-settings-password {
    display: block;
    height: 7vh;
}

.ac-game-settings-submit {
    display: block;
    height: 7vh;
}

.ac-game-settings-acwing {
    display: block;
    height: 7vh;
}

.ac-game-settings-item {
    width: 100%;
    height: 100%;
}

.ac-game-settings-item > input {
    width: 90%;
    line-height: 3vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 添加音乐控制按钮样式 */
.ac-game-menu-music-control {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    z-index: 100;
}
.ac-game-settings-item > button {
    color: white;
    width: 90%;
    line-height: 3vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4CAF50;
    border-radius: 5px;
}

.ac-game-settings-error-message {
    color: red;
    font-size: 0.8vh;
    display: inline;
    float: left;
    padding-left: 1vw;
}

.ac-game-settings-option {
    color: white;
    font-size: 2vh;
    display: inline;
    float: right;
    padding-right: 1vw;
    cursor: pointer;
}

.ac-game-settings-acwing > img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: block;
}

.ac-game-settings-acwing > div {
    color: white;
    font-size: 1.5vh;
    text-align: center;
    display: block;
}

.ac-game-settings-register {
    height: 49vh;
    width: 20vw;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}



.ac-game-menu {
    width: 100%;
    height: 100%;
    background-image: url("/static/image/menu/ground.png");
    background-size: 100% 100%;
    user-select: none;
}

.ac-game-menu-field {
    width: 20vw;
    position: relative;
    top: 40%;
    left: 20%;
}

.ac-game-menu-field-item {
    color: white;
    height: 6vh;
    width: 18vw;
    font-size: 4vh;
    font-style: italic;
    text-align: center;
    background-color: rgba(39,21,28, 0.6);
    border-radius: 10px;
    letter-spacing: 0.5vw;
    cursor: pointer;

        /* 添加移动端触摸优化 */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    touch-action: manipulation;
}

.ac-game-menu-field-item:hover {
    transform: scale(1.2);
    transition: 100ms;
}

.ac-game-playground {
    width: 100%;
    height: 100%;
    user-select: none;
}

.ac-game-playground {
    width: 100%;
    height: 100%;
    user-select: none;
}

/* 添加移动端摇杆样式 */
@media screen and (max-width: 768px) {
    #mobile-joystick {
        position: fixed;
        bottom: 50px;
        left: 50px;
        width: 100px;
        height: 100px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.3);
        display: none;
        z-index: 1000;
        touch-action: none;
    }

    #joystick-handle {
        position: absolute;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        top: 30px;
        left: 30px;
        touch-action: none;
    }

    #shoot-button {
        position: fixed;
        bottom: 50px;
        right: 50px;
        width: 80px;
        height: 80px;
        background: rgba(255, 0, 0, 0.5);
        border-radius: 50%;
        display: none;
        z-index: 1000;
        text-align: center;
        line-height: 80px;
        color: white;
        font-weight: bold;
        font-size: 16px;
        touch-action: none;
    }

    #shoot-button:active {
        background: rgba(255, 0, 0, 0.8);
    }
}
